package java56_3;

import java.util.Scanner;

public class TestAdmin {

	public static void main(String[] args) {
		Admin m = new Admin();
		m.name = "老王";
		m.pass = "111111";
		m.showInfo();
		Scanner sc = new Scanner(System.in);
		System.out.println("请输入新密码：");
		String n = sc.next();
		m.modifyPass(n);
		System.out.println(">>>>>>>>>>修改后");
		m.showInfo();
	}

}
